<?php
namespace s_task;

use s_vendor\AbstractTask;

class TestTask extends AbstractTask {
    public function execute()
    {
        // TODO: Implement execute() method.
       for ($i = 0; $i < 30; $i++) {
           echo $i . PHP_EOL;
           sleep(1);
           //echo $a++ . PHP_EOL;
       }
       return 'pao wan le';
    }

    public function finish($res = null)
    {
        // TODO: Implement finish() method.
        echo 'ok, jie shou dao le :' . $res;
    }
}